﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace console.demo.senior
{
    [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = true)]
    public class Self : System.Attribute
    {
        public string Name;
        public double version;
        public Self(string name)
        {
            this.Name = name;
            version = 1.0;
        }
        public string GetName()
        {
            return Name;
        }
    }
}
